#ifndef LABEL_H
#define LABEL_H
#include "QLabel"

class Label : public QLabel
{
public:
    Label(QWidget *parent);

    void mousePressEvent(QMouseEvent *ev) override;//按下
    void mouseReleaseEvent(QMouseEvent *ev) override;//释放
    void mouseDoubleClickEvent(QMouseEvent *ev) override;//双击
};

#endif // LABEL_H
